package com.woniu.aimd.pojo.VO;

import com.woniu.aimd.pojo.entity.User;

import java.io.Serializable;

public class UserTokenVO implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 用户id
     */
    private String id;
    /**
     * 账号
     */
    private String account;
    /**
     * 角色（0-老师/1-学生）
     */
    private Integer role;

    private String result;

    private String token;

    public UserTokenVO() {
    }

    public UserTokenVO(String id, String account, Integer role, String result, String token) {
        this.id = id;
        this.account = account;
        this.role = role;
        this.result = result;
        this.token = token;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    @Override
    public String toString() {
        return "UserTokenVO{" +
                "id='" + id + '\'' +
                ", account='" + account + '\'' +
                ", role=" + role +
                ", result='" + result + '\'' +
                ", token='" + token + '\'' +
                '}';
    }
}
